package com.pinda.mapper;

import com.pinda.auth.entity.PdAuthUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pinda.auth.search.PdAuthUserSearch;
import com.pinda.auth.view.PdAuthUserView;
import com.pinda.authorization.entity.User;

import java.util.List;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-14
 */
public interface PdAuthUserMapper extends BaseMapper<PdAuthUser> {
    /**
     *
     * TODO 分页条件查询所有用户
     * @return
     */
    List<PdAuthUserView> findPageSearchAuthUser(PdAuthUserSearch pdAuthUserSearch);

    List<User> listByIdsUser(List<Long> ids);
}
